import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx';
import path from "path";

// https://vitejs.dev/config/
export default defineConfig({
  // root: './',
  // publicDir: '../../public',
  base: './',
  plugins: [vue(),vueJsx()],
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "./src"),
      "*": path.resolve(""),
    },
  },
  server: {
    host: '0.0.0.0',
    port: 8888,
    open:true,
  },
})
